 <% @page_heading = 'Sidebar' %>
<% content_for('tasks') do %>
	<%= tab _("Choose a theme"), :controller=>"themes", :action=>"index" %>
	<%= tab _("Manage Text Filters"), :controller=>"textfilters", :action=>"list" %>
<% end %>
  <p><%= _("Drag and drop to change the sidebar items displayed on this blog.  To remove items from the sidebar just click remove  Changes are saved immediately, but not activated until you click the 'Publish' button")%>.</p>

  <%= form_remote_tag(:url=>{:action=>'publish'},
                      :loading => "new Element.show('update_spinner')")  %>
  <input value="<%= _('Publish changes')%>" class="space" type="submit"/>

  <div id="messages">&nbsp;</div>

  <div id="sidebar-config">
    <div id="available" class="dropbox">
      <h3><%= _("Available Items")%></h3>
      <div id="available_box">
        <%= render :partial => 'availables', :object => @available %>
      </div>
    </div>

    <div id="cnt-active">
      <h3 id="hdr-active">
        <%= _("Active Sidebar items")%>
        <%= image_tag "spinner-blue.gif", :id => 'update_spinner',
                      :style => 'display:none;' -%>
      </h3>
      <div id="active" class="dropbox">
        <%= render :partial => 'actives', :object => @active %>
      </div>
    </div>
    <br clear="all" />

    <input value="<%= _('Publish changes')%>" class="space" type="submit"/>

  </div>
  <%= end_form_tag %>

